﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000D13 RID: 3347
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class PlayerKickOutScNotify : IMessage<PlayerKickOutScNotify>, IMessage, IEquatable<PlayerKickOutScNotify>, IDeepCloneable<PlayerKickOutScNotify>, IBufferMessage
	{
		// Token: 0x17002A46 RID: 10822
		// (get) Token: 0x060095D3 RID: 38355 RVA: 0x0018EED3 File Offset: 0x0018D0D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<PlayerKickOutScNotify> Parser
		{
			get
			{
				return PlayerKickOutScNotify._parser;
			}
		}

		// Token: 0x17002A47 RID: 10823
		// (get) Token: 0x060095D4 RID: 38356 RVA: 0x0018EEDA File Offset: 0x0018D0DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return PlayerKickOutScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002A48 RID: 10824
		// (get) Token: 0x060095D5 RID: 38357 RVA: 0x0018EEEC File Offset: 0x0018D0EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return PlayerKickOutScNotify.Descriptor;
			}
		}

		// Token: 0x060095D6 RID: 38358 RVA: 0x0018EEF3 File Offset: 0x0018D0F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerKickOutScNotify()
		{
		}

		// Token: 0x060095D7 RID: 38359 RVA: 0x0018EEFC File Offset: 0x0018D0FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerKickOutScNotify(PlayerKickOutScNotify other) : this()
		{
			this.kickType_ = other.kickType_;
			this.blackInfo_ = ((other.blackInfo_ != null) ? other.blackInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060095D8 RID: 38360 RVA: 0x0018EF48 File Offset: 0x0018D148
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerKickOutScNotify Clone()
		{
			return new PlayerKickOutScNotify(this);
		}

		// Token: 0x17002A49 RID: 10825
		// (get) Token: 0x060095D9 RID: 38361 RVA: 0x0018EF50 File Offset: 0x0018D150
		// (set) Token: 0x060095DA RID: 38362 RVA: 0x0018EF58 File Offset: 0x0018D158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KickType KickType
		{
			get
			{
				return this.kickType_;
			}
			set
			{
				this.kickType_ = value;
			}
		}

		// Token: 0x17002A4A RID: 10826
		// (get) Token: 0x060095DB RID: 38363 RVA: 0x0018EF61 File Offset: 0x0018D161
		// (set) Token: 0x060095DC RID: 38364 RVA: 0x0018EF69 File Offset: 0x0018D169
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BlackInfo BlackInfo
		{
			get
			{
				return this.blackInfo_;
			}
			set
			{
				this.blackInfo_ = value;
			}
		}

		// Token: 0x060095DD RID: 38365 RVA: 0x0018EF72 File Offset: 0x0018D172
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as PlayerKickOutScNotify);
		}

		// Token: 0x060095DE RID: 38366 RVA: 0x0018EF80 File Offset: 0x0018D180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(PlayerKickOutScNotify other)
		{
			return other != null && (other == this || (this.KickType == other.KickType && object.Equals(this.BlackInfo, other.BlackInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060095DF RID: 38367 RVA: 0x0018EFD0 File Offset: 0x0018D1D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KickType != KickType.KickSqueezed)
			{
				num ^= this.KickType.GetHashCode();
			}
			if (this.blackInfo_ != null)
			{
				num ^= this.BlackInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060095E0 RID: 38368 RVA: 0x0018F02B File Offset: 0x0018D22B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060095E1 RID: 38369 RVA: 0x0018F033 File Offset: 0x0018D233
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060095E2 RID: 38370 RVA: 0x0018F03C File Offset: 0x0018D23C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.blackInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.BlackInfo);
			}
			if (this.KickType != KickType.KickSqueezed)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.KickType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060095E3 RID: 38371 RVA: 0x0018F098 File Offset: 0x0018D298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KickType != KickType.KickSqueezed)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.KickType);
			}
			if (this.blackInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.BlackInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060095E4 RID: 38372 RVA: 0x0018F0F0 File Offset: 0x0018D2F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(PlayerKickOutScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KickType != KickType.KickSqueezed)
			{
				this.KickType = other.KickType;
			}
			if (other.blackInfo_ != null)
			{
				if (this.blackInfo_ == null)
				{
					this.BlackInfo = new BlackInfo();
				}
				this.BlackInfo.MergeFrom(other.BlackInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060095E5 RID: 38373 RVA: 0x0018F158 File Offset: 0x0018D358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060095E6 RID: 38374 RVA: 0x0018F164 File Offset: 0x0018D364
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.KickType = (KickType)input.ReadEnum();
					}
				}
				else
				{
					if (this.blackInfo_ == null)
					{
						this.BlackInfo = new BlackInfo();
					}
					input.ReadMessage(this.BlackInfo);
				}
			}
		}

		// Token: 0x04003963 RID: 14691
		private static readonly MessageParser<PlayerKickOutScNotify> _parser = new MessageParser<PlayerKickOutScNotify>(() => new PlayerKickOutScNotify());

		// Token: 0x04003964 RID: 14692
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003965 RID: 14693
		public const int KickTypeFieldNumber = 13;

		// Token: 0x04003966 RID: 14694
		private KickType kickType_;

		// Token: 0x04003967 RID: 14695
		public const int BlackInfoFieldNumber = 7;

		// Token: 0x04003968 RID: 14696
		private BlackInfo blackInfo_;
	}
}
